using ImportPlcPointPosition.Configuration;

namespace ImportPlcPointPosition
{
    internal static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            double d = 3;
            string t = d.ToString("f1");
            float m = Convert.ToSingle(t);
            // builder.Services.Configure<OptionsSetting>(builder.Configuration);
            SqlSugarHelper.ConnectionString = AppConfig.Get<string>("ConnectionStrings:KAISHI_Web_MES");
            AppConfig.AppsettingConfig = AppConfig.GetConfig<OptionsSetting>();





            // To customize application configuration such as set high DPI settings or default font,
            // see https://aka.ms/applicationconfiguration.
            ApplicationConfiguration.Initialize();
            Application.SetHighDpiMode(HighDpiMode.SystemAware);
            AntdUI.Config.TextRenderingHighQuality = true;
            Application.Run(new MainLayout());
        }
    }
}